<html>
<body>
Reports instantiations of new <code>Long</code>,
<code>Integer</code>, <code>Short</code>, or
<code>Byte</code> objects that have a primitive <code>long</code>,
<code>integer</code>, <code>short</code>, or
<code>byte</code>
argument.
<p>It is recommended that you use the static method <code>valueOf()</code>
  introduced in Java 5. By default, this method caches objects for values between -128 and
  127 inclusive.
<p><b>Example:</b></p>
<pre><code>
  Integer i = new Integer(1);
  Long l = new Long(1L);
</code></pre>
<p>After the quick-fix is applied, the code changes to:</p>
<pre><code>
  Integer i = Integer.valueOf(1);
  Long l = Long.valueOf(1L);
</code></pre>
<!-- tooltip end -->
<p>This inspection only reports if the language level of the project or module is 5 or higher</p>
<p>
  Use the <b>Ignore new number expressions with a String argument</b> option to ignore calls to number constructors with a <code>String</code> argument.</p>
<p>
  Use the <b>Report only when constructor is @Deprecated</b>  option to only report calls to deprecated constructors.
  <code>Long</code>, <code>Integer</code>, <code>Short</code> and <code>Byte</code> constructors are deprecated since JDK 9.</p>
</body>
</html>